home *** CD-ROM | disk | FTP | other *** search
/ Cine Live 69 / Cine Live 69.iso / pc / Data / Interface / bonus2.k < prev    next >
Encoding:
Text File  |  2003-04-07  |  4.6 KB  |  200 lines

  1. module oRoot1 is cBox
  2. with 
  3.     Flags is $00000152; 
  4.     release Editor:
  5.         IOWindow is {$0000016C,$0000005A,$0000023F,$000002CD,$00000000,$00000000,$00000000,$00000000};
  6.         LayoutWindow is {$00000104,$0000008A,$0000032F,$00000267,$00000000,$00000000,$00000064,$00000000};
  7.     end;
  8.     Name is "Root"; 
  9.     Enabled is false; 
  10.     
  11.     Width is 800; Height is 600; 
  12.     
  13.     
  14.     Elements is [
  15.         oMusic2,
  16.         ofond3,
  17.         oreportage_sommaire4,
  18.         oreportage_lancer5,
  19.         oVid_o6
  20.     ];
  21.     Events is [
  22.         cOnscreenEvent
  23.         with Flags is $00000004; 
  24.             Commands is [
  25.                 cRunCommand
  26.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  27.             ];
  28.         end,
  29.         cKeyboardEvent
  30.         with Flags is $00000004; Test is IsSpace; 
  31.             Commands is [
  32.                 cRunCommand
  33.                 with Flags is $00000004; Target is oVid_o6; Mode is Toggle; end
  34.             ];
  35.         end,
  36.         cKeyboardEvent
  37.         with Value is "+"; 
  38.             Commands is [
  39.                 cSetVolumeCommand
  40.                 with Mode is ExecuteHigher; end
  41.             ];
  42.         end,
  43.         cKeyboardEvent
  44.         with Value is "-"; 
  45.             Commands is [
  46.                 cSetVolumeCommand
  47.                 with Flags is $00000004; Mode is ExecuteLower; end
  48.             ];
  49.         end,
  50.         cKeyboardEvent
  51.         with Value is "m"; 
  52.             Commands is [
  53.                 cRunCommand
  54.                 with Flags is $00000004; Mode is Toggle; Rewind is true; end
  55.             ];
  56.         end
  57.     ];
  58. end;
  59.  
  60. object oMusic2 is cSound
  61. with 
  62.     Flags is $00000150; 
  63.     Name is "Music"; 
  64.     
  65.     AdjustX is AlignToCenter; AdjustY is AlignToMiddle; 
  66.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  67.     Looping is true; 
  68.     URL is "data/Sons/1.mp3"; URLOption is GetDiskURL; 
  69.     
  70. end;
  71.  
  72. object ofond3 is cImage
  73. with 
  74.     Flags is $00000150; 
  75.     Name is "fond"; 
  76.     Enabled is false; 
  77.     AdjustX is AlignToCenter; AdjustY is AlignToMiddle; 
  78.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  79.     
  80.     URL is "data/Images/bonus2.jpg"; URLOption is GetDiskURL; 
  81.     
  82.     
  83. end;
  84.  
  85. object oreportage_sommaire4 is cImage
  86. with 
  87.     Flags is $00000150; 
  88.     Name is "reportage sommaire"; 
  89.     Shown is false; Cursor is oFingerCursor; 
  90.     X is 629; Y is 573; 
  91.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  92.     
  93.     URL is "data/Images/vid%20sommaire.jpg"; URLOption is GetDiskURL; 
  94.     
  95.     
  96.     Events is [
  97.         cMouseEnterEvent
  98.         with Flags is $00000004; 
  99.             Commands is [
  100.                 cShowCommand
  101.                 with Flags is $00000004; Target is oTargetSelf; end
  102.             ];
  103.         end,
  104.         cMouseLeaveEvent
  105.         with Flags is $00000004; 
  106.             Commands is [
  107.                 cShowCommand
  108.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end
  109.             ];
  110.         end,
  111.         cMouseUpEvent
  112.         with Flags is $00000004; 
  113.             Commands is [
  114.                 cBrowseCommand
  115.                 with Flags is $00000004; URL is "data/Interface/sommaire.k"; URLOption is GetDiskURL; end
  116.             ];
  117.         end
  118.     ];
  119. end;
  120.  
  121. object oreportage_lancer5 is cImage
  122. with 
  123.     Flags is $00000150; 
  124.     Name is "reportage lancer"; 
  125.     Shown is false; Cursor is oFingerCursor; 
  126.     X is 475; Y is 573; 
  127.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  128.     
  129.     URL is "data/Images/vid%20video.jpg"; URLOption is GetDiskURL; 
  130.     
  131.     
  132.     Events is [
  133.         cMouseEnterEvent
  134.         with Flags is $00000004; 
  135.             Commands is [
  136.                 cShowCommand
  137.                 with Flags is $00000004; Target is oTargetSelf; end
  138.             ];
  139.         end,
  140.         cMouseLeaveEvent
  141.         with Flags is $00000004; 
  142.             Commands is [
  143.                 cShowCommand
  144.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end
  145.             ];
  146.         end,
  147.         cMouseUpEvent
  148.         with Flags is $00000004; 
  149.             Commands is [
  150.                 cShowCommand
  151.                 with Flags is $00000004; Target is oVid_o6; end,
  152.                 cEnableCommand
  153.                 with Flags is $00000004; Target is oVid_o6; end,
  154.                 cRunCommand
  155.                 with Flags is $00000004; Target is oVid_o6; Rewind is true; end,
  156.                 cRunCommand
  157.                 with Flags is $00000004; Target is oMusic2; Mode is Clear; Rewind is true; end
  158.             ];
  159.         end
  160.     ];
  161. end;
  162.  
  163. object oVid_o6 is cMPEGMovie
  164. with 
  165.     Flags is $00000150; 
  166.     Name is "Vid\$E9o"; 
  167.     Enabled is false; Shown is false; Cursor is oEmptyCursor; 
  168.     
  169.     Width is 800; Height is 600; 
  170.     
  171.     URL is "data/Videos/bonus2.mpg"; URLOption is GetDiskURL; 
  172.     Events is [
  173.         cMouseUpEvent
  174.         with Flags is $00000004; 
  175.             Commands is [
  176.                 cShowCommand
  177.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end,
  178.                 cEnableCommand
  179.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end,
  180.                 cRunCommand
  181.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; Rewind is true; end,
  182.                 cRunCommand
  183.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  184.             ];
  185.         end,
  186.         cFinishedEvent
  187.         with Flags is $00000004; 
  188.             Commands is [
  189.                 cShowCommand
  190.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end,
  191.                 cEnableCommand
  192.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end,
  193.                 cRunCommand
  194.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; Rewind is true; end,
  195.                 cRunCommand
  196.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  197.             ];
  198.         end
  199.     ];
  200. end;